<script setup lang="ts">
import { searchConfig } from './config/search-config';
import { tableConfig } from './config/table-config';

import { doGetRecommendation } from '@/api/plan/suggest/index';

defineOptions({
    name: 'suggestList'
});

// 搜索相关
const tableRef = ref<TableRef>();
const searchRef = ref<SearchRef>();
</script>

<template>
    <q-page>
        <base-search ref="searchRef" :table-ref="tableRef" :search-config="searchConfig" />
        <base-table
            ref="tableRef"
            :table-config="tableConfig"
            :getDataFn="doGetRecommendation"
            :un-action="true"
        >
        </base-table>
    </q-page>
</template>

<style scoped></style>
